package com.bootdo.system.service;

import com.bootdo.common.domain.Tree;
import com.bootdo.common.service.CrudService;
import com.bootdo.system.dao.AreaDao;
import com.bootdo.system.domain.AreaDO;

import java.util.List;
import java.util.Map;

/**
 * 区域表
 * 
 * @author liangxiong
 * @email 1992lcg@163.com
 * @date 2018-06-29 09:39:36
 */
public interface AreaService{
	
	AreaDO get(String id);
	
	List<AreaDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);

	AreaDO saveArea(AreaDO area);

	AreaDO updateArea(AreaDO area);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	Tree<AreaDO> getTree();
}
